<style type="text/css">

</style>

<div class="col-sm-12 mt20">
  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-md-2 pull-right" style="margin-bottom: 15px">
        <button class="btn btn-success btn-block" ng-click="set(null, false)">添  加</button>
      </div>

      <table class="table table-striped table-bordered dataTable table-condensed tree_table">
        <thead>
          <tr>
            <th class="text-center col-md-2">商户信息</th>
            <th class="text-center col-md-1">付款类型</th>
            <th class="text-center col-md-1">服务费退还</th>
            <th class="text-center col-md-1">上限金额(元)</th>
            <th class="text-center col-md-1">累积使用额(元)</th>
            <th class="text-center col-md-1">每单服务费(元)</th>
            <th class="text-center col-md-1">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in list">
            <td>{{info.company_name}}({{info.company_code}})</td>
            <td class="text-center">{{info.order_service_charge_type=='1'?'年付':'单付'}}</td>
            <td class="text-center">{{info.back_servicefee=='1'?'可退':'不可退'}}</td>
            <td class="text-center">{{(info.max_price||0) * 0.01}}</td>
            <td class="text-center">{{(info.accumulative_price||0) * 0.01}}</td>
            <td class="text-center">{{(info.order_fee||0) * 0.01}}</td>
            <td class="text-center">
              <button type="button" class="btn btn-info btn-xs" ng-click="set(info, true)">编辑</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>

  </div>
</div>